home *** CD-ROM | disk | FTP | other *** search
Makefile | 1995-05-03 | 943 b | 42 lines |
- #
- # Makefile for ausay - when the netaudio stuff is properly sorted out,
- # we'll put an Imakefile together.
- #
- LIBDIR = /usr/skunk/lib
- INCDIR = /usr/include
- PHONEMEDIR = /usr/skunk/lib/phonemes
- BINDIR = /usr/skunk/bin
-
- CFLAGS= -O -I$(INCDIR) -DLIBSPEAK -DDEFAULT_DIR=\"$(PHONEMEDIR)\"
- LIBS= -L. -L$(LIBDIR) -lspeak -laudio -lX11 -lsocket -lm
-
- CCOBJECTS=english.o parse.o phoneme.o saynum.o spellword.o speak.o
-
-
- ausay: libspeak.a ausay.o
- $(CC) $(CFLAGS) -o ausay ausay.o $(LIBS)
-
- test: libspeak.a test.o
- $(CC) $(CFLAGS) -o test test.o $(LIBS)
-
- libspeak.a: $(CCOBJECTS)
- ar ruv libspeak.a $(CCOBJECTS)
- ranlib libspeak.a
-
- phoneme: $(CCOBJECTS)
- $(CC) -o phoneme $(CCOBJECTS)
-
- clean:
- rm -f *.o test ausay libspeak.a
-
- install: ausay libspeak.a
- if [ ! -d $(PHONEMEDIR) ] ; \
- then \
- mkdir -p $(PHONEMEDIR) ; \
- fi
- cp phonemes/* $(PHONEMEDIR)
- chmod 644 $(PHONEMEDIR)/*
- chmod 555 $(PHONEMEDIR)
- cp ausay $(BINDIR)
- cp libspeak.a $(LIBDIR)
-